<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>WebView Navigation Test</title>
    <script src="views://webviewtag/index.js"></script>
    <style>
        body {
            padding: 20px;
            font-family: system-ui, -apple-system, sans-serif;
        }
        #nav-events {
            background: #f0f0f0;
            padding: 10px;
            border-radius: 4px;
            min-height: 50px;
            margin-bottom: 20px;
        }
        electrobun-webview {
            width: 100%;
            height: 400px;
            border: 2px solid #666;
            display: block;
        }
    </style>
</head>
<body>
    <h2>WebView Navigation Test</h2>
    <div>
        <strong>Navigation Events:</strong>
        <div id="nav-events">Waiting for navigation...</div>
    </div>
    
    <electrobun-webview src="https://electrobun.dev"></electrobun-webview>
</body>
</html>